/* Copyright 2018 JDCLOUD.COM

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http:#www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.





Contact: 

NOTE: This class is auto generated by the jdcloud code generator program.
*/

 

#ifndef RmsModel_h
#define RmsModel_h

@interface SendStatus :NSObject

/// 用户pin
@property (strong,nonatomic,nonnull)  NSString*  pin;

/// 应用ID
@property (strong,nonatomic,nonnull)  NSString*  appId;

/// 任务序列号
@property (strong,nonatomic,nonnull)  NSString*  sequenceNumber;

/// 短信ID
@property (strong,nonatomic,nonnull)  NSString*  templateId;

/// 手机号
@property (strong,nonatomic,nonnull)  NSString*  mobileNum;

/// 发送状态 -1：初始状态；0：成功发送到网关；1：下载成功；2：发送失败；3：未发送至网关，过期失败；4：发送到网关，过期失败
@property (strong,nonatomic,nonnull)  NSNumber*  stateFlag;

/// 发送时间 yyyy-MM-dd HH:mm:ss
@property (strong,nonatomic,nonnull)  NSString*  sendTime;


-(id) initWithPin:(NSString*) pin
    appId:(NSString*)appId
    sequenceNumber:(NSString*)sequenceNumber
    templateId:(NSString*)templateId
    mobileNum:(NSString*)mobileNum
    stateFlag:(NSNumber*)stateFlag
    sendTime:(NSString*)sendTime;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface SendBatchMsg :NSObject

/// 本次发送请求的序列号
@property (strong,nonatomic,nonnull)  NSString*  sequenceNumber;


-(id) initWithSequenceNumber:(NSString*) sequenceNumber;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface RespQueryTemplateListData :NSObject

/// 短信ID
@property (strong,nonatomic,nonnull)  NSString*  templateId;

/// 短信标题
@property (strong,nonatomic,nonnull)  NSString*  title;

/// 审核状态 0: 审核中 1: 通过 2: 未通过 4:待提交
@property (strong,nonatomic,nonnull)  NSString*  status;

/// 审核未通过原因
@property (strong,nonatomic,nonnull)  NSString*  reason;

/// 短信创建时间 yyyy-MM-dd HH:mm:ss
@property (strong,nonatomic,nonnull)  NSString*  createTime;

/// 短信内容大小
@property (strong,nonatomic,nonnull)  NSString*  contentSize;

/// 资质Id
@property (strong,nonatomic,nonnull)  NSString*  aptitudesId;

/// 短信描述
@property (strong,nonatomic,nonnull)  NSString*  descriptionValue;


-(id) initWithTemplateId:(NSString*) templateId
    title:(NSString*)title
    status:(NSString*)status
    reason:(NSString*)reason
    createTime:(NSString*)createTime
    contentSize:(NSString*)contentSize
    aptitudesId:(NSString*)aptitudesId
    descriptionValue:(NSString*)descriptionValue;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface TemplateContent :NSObject

/// 类型只能为 txt/jpg/png/gif/mp3/mp4
@property (strong,nonatomic,nonnull)  NSString*  fileType;

/// 类型为txt时，为文本信息；类型为非txt时，这里需要填写文件对应的base64编码
@property (strong,nonatomic,nonnull)  NSString*  value;


-(id) initWithFileType:(NSString*) fileType
    value:(NSString*)value;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface RespTemplateData :NSObject

/// 短信ID
@property (strong,nonatomic,nonnull)  NSString*  templateId;


-(id) initWithTemplateId:(NSString*) templateId;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface RespPackageResult :NSObject

/// 剩余条数
@property (strong,nonatomic,nonnull)  NSNumber*  remainder;


-(id) initWithRemainder:(NSNumber*) remainder;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface QuerySendStatus :NSObject

/// 总量
@property (strong,nonatomic,nonnull)  NSNumber*  total;

/// 发送信息明细列表
@property (strong,nonatomic,nonnull)  NSArray<SendStatus*>*  detailList;


-(id) initWithTotal:(NSNumber*) total
    detailList:(NSArray<SendStatus*>*)detailList;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface RespTemplatePageResult :NSObject

/// 总条数
@property (strong,nonatomic,nonnull)  NSNumber*  count;

/// 当前页
@property (strong,nonatomic,nonnull)  NSNumber*  pageNum;

/// 每页条数
@property (strong,nonatomic,nonnull)  NSNumber*  pageSize;

/// 总页数
@property (strong,nonatomic,nonnull)  NSNumber*  pageCount;

/// 数据
@property (strong,nonatomic,nonnull)  NSArray<RespQueryTemplateListData*>*  list;


-(id) initWithCount:(NSNumber*) count
    pageNum:(NSNumber*)pageNum
    pageSize:(NSNumber*)pageSize
    pageCount:(NSNumber*)pageCount
    list:(NSArray<RespQueryTemplateListData*>*)list;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end

#endif /* RmsModel_h */
